package com.cs.manaer.service;

import com.cs.manaer.controller.req.RoleReqMsg;
import com.cs.manaer.controller.req.UserRoleReqMsg;
import com.cs.manaer.controller.res.ListCsmgRoleResMsg;
import com.lin.common.error.CustomRuntimeException;

public interface RoleService {

    Integer userAddRole(UserRoleReqMsg reqMsg);

    ListCsmgRoleResMsg listrole(Integer pageSize, Integer pageNo);

    Integer addrole(RoleReqMsg reqMsg) throws CustomRuntimeException;

    Integer delrole(Long id);
}
